<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>参数</title>
	<script>

		
		

		function get_sum(num1,num2) {
			var total = 0;
			for (var i = num1; i <= num2; i++) {
				total +=i;
			}

			return total;
		}

		res  = get_sum(1,100);

		document.write(res);

		function br() {
			document.write("<br>");
		}

		br();
		br();
		br();
		br();
		br();
		br();
		br();
		br();
		br();
		br();
		br();
		br();

		get_sum(45,100);
		
		
		// function a(num,num1,num2,num3) {
		// 	document.write(num);
		// 	document.write(num1);
		// }

		// // a(888);
		// a(77,33);







	</script>
</head>
<body>
	
</body>
</html>